package edu.xust.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DriversExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public DriversExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andDidIsNull() {
            addCriterion("did is null");
            return (Criteria) this;
        }

        public Criteria andDidIsNotNull() {
            addCriterion("did is not null");
            return (Criteria) this;
        }

        public Criteria andDidEqualTo(String value) {
            addCriterion("did =", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidNotEqualTo(String value) {
            addCriterion("did <>", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidGreaterThan(String value) {
            addCriterion("did >", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidGreaterThanOrEqualTo(String value) {
            addCriterion("did >=", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidLessThan(String value) {
            addCriterion("did <", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidLessThanOrEqualTo(String value) {
            addCriterion("did <=", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidLike(String value) {
            addCriterion("did like", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidNotLike(String value) {
            addCriterion("did not like", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidIn(List<String> values) {
            addCriterion("did in", values, "did");
            return (Criteria) this;
        }

        public Criteria andDidNotIn(List<String> values) {
            addCriterion("did not in", values, "did");
            return (Criteria) this;
        }

        public Criteria andDidBetween(String value1, String value2) {
            addCriterion("did between", value1, value2, "did");
            return (Criteria) this;
        }

        public Criteria andDidNotBetween(String value1, String value2) {
            addCriterion("did not between", value1, value2, "did");
            return (Criteria) this;
        }

        public Criteria andDnameIsNull() {
            addCriterion("dname is null");
            return (Criteria) this;
        }

        public Criteria andDnameIsNotNull() {
            addCriterion("dname is not null");
            return (Criteria) this;
        }

        public Criteria andDnameEqualTo(String value) {
            addCriterion("dname =", value, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameNotEqualTo(String value) {
            addCriterion("dname <>", value, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameGreaterThan(String value) {
            addCriterion("dname >", value, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameGreaterThanOrEqualTo(String value) {
            addCriterion("dname >=", value, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameLessThan(String value) {
            addCriterion("dname <", value, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameLessThanOrEqualTo(String value) {
            addCriterion("dname <=", value, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameLike(String value) {
            addCriterion("dname like", value, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameNotLike(String value) {
            addCriterion("dname not like", value, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameIn(List<String> values) {
            addCriterion("dname in", values, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameNotIn(List<String> values) {
            addCriterion("dname not in", values, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameBetween(String value1, String value2) {
            addCriterion("dname between", value1, value2, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameNotBetween(String value1, String value2) {
            addCriterion("dname not between", value1, value2, "dname");
            return (Criteria) this;
        }

        public Criteria andDphoneIsNull() {
            addCriterion("dphone is null");
            return (Criteria) this;
        }

        public Criteria andDphoneIsNotNull() {
            addCriterion("dphone is not null");
            return (Criteria) this;
        }

        public Criteria andDphoneEqualTo(String value) {
            addCriterion("dphone =", value, "dphone");
            return (Criteria) this;
        }

        public Criteria andDphoneNotEqualTo(String value) {
            addCriterion("dphone <>", value, "dphone");
            return (Criteria) this;
        }

        public Criteria andDphoneGreaterThan(String value) {
            addCriterion("dphone >", value, "dphone");
            return (Criteria) this;
        }

        public Criteria andDphoneGreaterThanOrEqualTo(String value) {
            addCriterion("dphone >=", value, "dphone");
            return (Criteria) this;
        }

        public Criteria andDphoneLessThan(String value) {
            addCriterion("dphone <", value, "dphone");
            return (Criteria) this;
        }

        public Criteria andDphoneLessThanOrEqualTo(String value) {
            addCriterion("dphone <=", value, "dphone");
            return (Criteria) this;
        }

        public Criteria andDphoneLike(String value) {
            addCriterion("dphone like", value, "dphone");
            return (Criteria) this;
        }

        public Criteria andDphoneNotLike(String value) {
            addCriterion("dphone not like", value, "dphone");
            return (Criteria) this;
        }

        public Criteria andDphoneIn(List<String> values) {
            addCriterion("dphone in", values, "dphone");
            return (Criteria) this;
        }

        public Criteria andDphoneNotIn(List<String> values) {
            addCriterion("dphone not in", values, "dphone");
            return (Criteria) this;
        }

        public Criteria andDphoneBetween(String value1, String value2) {
            addCriterion("dphone between", value1, value2, "dphone");
            return (Criteria) this;
        }

        public Criteria andDphoneNotBetween(String value1, String value2) {
            addCriterion("dphone not between", value1, value2, "dphone");
            return (Criteria) this;
        }

        public Criteria andDaccidentIsNull() {
            addCriterion("daccident is null");
            return (Criteria) this;
        }

        public Criteria andDaccidentIsNotNull() {
            addCriterion("daccident is not null");
            return (Criteria) this;
        }

        public Criteria andDaccidentEqualTo(Date value) {
            addCriterion("daccident =", value, "daccident");
            return (Criteria) this;
        }

        public Criteria andDaccidentNotEqualTo(Date value) {
            addCriterion("daccident <>", value, "daccident");
            return (Criteria) this;
        }

        public Criteria andDaccidentGreaterThan(Date value) {
            addCriterion("daccident >", value, "daccident");
            return (Criteria) this;
        }

        public Criteria andDaccidentGreaterThanOrEqualTo(Date value) {
            addCriterion("daccident >=", value, "daccident");
            return (Criteria) this;
        }

        public Criteria andDaccidentLessThan(Date value) {
            addCriterion("daccident <", value, "daccident");
            return (Criteria) this;
        }

        public Criteria andDaccidentLessThanOrEqualTo(Date value) {
            addCriterion("daccident <=", value, "daccident");
            return (Criteria) this;
        }

        public Criteria andDaccidentIn(List<Date> values) {
            addCriterion("daccident in", values, "daccident");
            return (Criteria) this;
        }

        public Criteria andDaccidentNotIn(List<Date> values) {
            addCriterion("daccident not in", values, "daccident");
            return (Criteria) this;
        }

        public Criteria andDaccidentBetween(Date value1, Date value2) {
            addCriterion("daccident between", value1, value2, "daccident");
            return (Criteria) this;
        }

        public Criteria andDaccidentNotBetween(Date value1, Date value2) {
            addCriterion("daccident not between", value1, value2, "daccident");
            return (Criteria) this;
        }

        public Criteria andDidentitycardIsNull() {
            addCriterion("didentitycard is null");
            return (Criteria) this;
        }

        public Criteria andDidentitycardIsNotNull() {
            addCriterion("didentitycard is not null");
            return (Criteria) this;
        }

        public Criteria andDidentitycardEqualTo(String value) {
            addCriterion("didentitycard =", value, "didentitycard");
            return (Criteria) this;
        }

        public Criteria andDidentitycardNotEqualTo(String value) {
            addCriterion("didentitycard <>", value, "didentitycard");
            return (Criteria) this;
        }

        public Criteria andDidentitycardGreaterThan(String value) {
            addCriterion("didentitycard >", value, "didentitycard");
            return (Criteria) this;
        }

        public Criteria andDidentitycardGreaterThanOrEqualTo(String value) {
            addCriterion("didentitycard >=", value, "didentitycard");
            return (Criteria) this;
        }

        public Criteria andDidentitycardLessThan(String value) {
            addCriterion("didentitycard <", value, "didentitycard");
            return (Criteria) this;
        }

        public Criteria andDidentitycardLessThanOrEqualTo(String value) {
            addCriterion("didentitycard <=", value, "didentitycard");
            return (Criteria) this;
        }

        public Criteria andDidentitycardLike(String value) {
            addCriterion("didentitycard like", value, "didentitycard");
            return (Criteria) this;
        }

        public Criteria andDidentitycardNotLike(String value) {
            addCriterion("didentitycard not like", value, "didentitycard");
            return (Criteria) this;
        }

        public Criteria andDidentitycardIn(List<String> values) {
            addCriterion("didentitycard in", values, "didentitycard");
            return (Criteria) this;
        }

        public Criteria andDidentitycardNotIn(List<String> values) {
            addCriterion("didentitycard not in", values, "didentitycard");
            return (Criteria) this;
        }

        public Criteria andDidentitycardBetween(String value1, String value2) {
            addCriterion("didentitycard between", value1, value2, "didentitycard");
            return (Criteria) this;
        }

        public Criteria andDidentitycardNotBetween(String value1, String value2) {
            addCriterion("didentitycard not between", value1, value2, "didentitycard");
            return (Criteria) this;
        }

        public Criteria andDpictureIsNull() {
            addCriterion("dpicture is null");
            return (Criteria) this;
        }

        public Criteria andDpictureIsNotNull() {
            addCriterion("dpicture is not null");
            return (Criteria) this;
        }

        public Criteria andDpictureEqualTo(String value) {
            addCriterion("dpicture =", value, "dpicture");
            return (Criteria) this;
        }

        public Criteria andDpictureNotEqualTo(String value) {
            addCriterion("dpicture <>", value, "dpicture");
            return (Criteria) this;
        }

        public Criteria andDpictureGreaterThan(String value) {
            addCriterion("dpicture >", value, "dpicture");
            return (Criteria) this;
        }

        public Criteria andDpictureGreaterThanOrEqualTo(String value) {
            addCriterion("dpicture >=", value, "dpicture");
            return (Criteria) this;
        }

        public Criteria andDpictureLessThan(String value) {
            addCriterion("dpicture <", value, "dpicture");
            return (Criteria) this;
        }

        public Criteria andDpictureLessThanOrEqualTo(String value) {
            addCriterion("dpicture <=", value, "dpicture");
            return (Criteria) this;
        }

        public Criteria andDpictureLike(String value) {
            addCriterion("dpicture like", value, "dpicture");
            return (Criteria) this;
        }

        public Criteria andDpictureNotLike(String value) {
            addCriterion("dpicture not like", value, "dpicture");
            return (Criteria) this;
        }

        public Criteria andDpictureIn(List<String> values) {
            addCriterion("dpicture in", values, "dpicture");
            return (Criteria) this;
        }

        public Criteria andDpictureNotIn(List<String> values) {
            addCriterion("dpicture not in", values, "dpicture");
            return (Criteria) this;
        }

        public Criteria andDpictureBetween(String value1, String value2) {
            addCriterion("dpicture between", value1, value2, "dpicture");
            return (Criteria) this;
        }

        public Criteria andDpictureNotBetween(String value1, String value2) {
            addCriterion("dpicture not between", value1, value2, "dpicture");
            return (Criteria) this;
        }

        public Criteria andDaudittimeIsNull() {
            addCriterion("daudittime is null");
            return (Criteria) this;
        }

        public Criteria andDaudittimeIsNotNull() {
            addCriterion("daudittime is not null");
            return (Criteria) this;
        }

        public Criteria andDaudittimeEqualTo(Date value) {
            addCriterion("daudittime =", value, "daudittime");
            return (Criteria) this;
        }

        public Criteria andDaudittimeNotEqualTo(Date value) {
            addCriterion("daudittime <>", value, "daudittime");
            return (Criteria) this;
        }

        public Criteria andDaudittimeGreaterThan(Date value) {
            addCriterion("daudittime >", value, "daudittime");
            return (Criteria) this;
        }

        public Criteria andDaudittimeGreaterThanOrEqualTo(Date value) {
            addCriterion("daudittime >=", value, "daudittime");
            return (Criteria) this;
        }

        public Criteria andDaudittimeLessThan(Date value) {
            addCriterion("daudittime <", value, "daudittime");
            return (Criteria) this;
        }

        public Criteria andDaudittimeLessThanOrEqualTo(Date value) {
            addCriterion("daudittime <=", value, "daudittime");
            return (Criteria) this;
        }

        public Criteria andDaudittimeIn(List<Date> values) {
            addCriterion("daudittime in", values, "daudittime");
            return (Criteria) this;
        }

        public Criteria andDaudittimeNotIn(List<Date> values) {
            addCriterion("daudittime not in", values, "daudittime");
            return (Criteria) this;
        }

        public Criteria andDaudittimeBetween(Date value1, Date value2) {
            addCriterion("daudittime between", value1, value2, "daudittime");
            return (Criteria) this;
        }

        public Criteria andDaudittimeNotBetween(Date value1, Date value2) {
            addCriterion("daudittime not between", value1, value2, "daudittime");
            return (Criteria) this;
        }

        public Criteria andDcertificateIsNull() {
            addCriterion("dcertificate is null");
            return (Criteria) this;
        }

        public Criteria andDcertificateIsNotNull() {
            addCriterion("dcertificate is not null");
            return (Criteria) this;
        }

        public Criteria andDcertificateEqualTo(String value) {
            addCriterion("dcertificate =", value, "dcertificate");
            return (Criteria) this;
        }

        public Criteria andDcertificateNotEqualTo(String value) {
            addCriterion("dcertificate <>", value, "dcertificate");
            return (Criteria) this;
        }

        public Criteria andDcertificateGreaterThan(String value) {
            addCriterion("dcertificate >", value, "dcertificate");
            return (Criteria) this;
        }

        public Criteria andDcertificateGreaterThanOrEqualTo(String value) {
            addCriterion("dcertificate >=", value, "dcertificate");
            return (Criteria) this;
        }

        public Criteria andDcertificateLessThan(String value) {
            addCriterion("dcertificate <", value, "dcertificate");
            return (Criteria) this;
        }

        public Criteria andDcertificateLessThanOrEqualTo(String value) {
            addCriterion("dcertificate <=", value, "dcertificate");
            return (Criteria) this;
        }

        public Criteria andDcertificateLike(String value) {
            addCriterion("dcertificate like", value, "dcertificate");
            return (Criteria) this;
        }

        public Criteria andDcertificateNotLike(String value) {
            addCriterion("dcertificate not like", value, "dcertificate");
            return (Criteria) this;
        }

        public Criteria andDcertificateIn(List<String> values) {
            addCriterion("dcertificate in", values, "dcertificate");
            return (Criteria) this;
        }

        public Criteria andDcertificateNotIn(List<String> values) {
            addCriterion("dcertificate not in", values, "dcertificate");
            return (Criteria) this;
        }

        public Criteria andDcertificateBetween(String value1, String value2) {
            addCriterion("dcertificate between", value1, value2, "dcertificate");
            return (Criteria) this;
        }

        public Criteria andDcertificateNotBetween(String value1, String value2) {
            addCriterion("dcertificate not between", value1, value2, "dcertificate");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateIsNull() {
            addCriterion("dregistrationcertificate is null");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateIsNotNull() {
            addCriterion("dregistrationcertificate is not null");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateEqualTo(String value) {
            addCriterion("dregistrationcertificate =", value, "dregistrationcertificate");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateNotEqualTo(String value) {
            addCriterion("dregistrationcertificate <>", value, "dregistrationcertificate");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateGreaterThan(String value) {
            addCriterion("dregistrationcertificate >", value, "dregistrationcertificate");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateGreaterThanOrEqualTo(String value) {
            addCriterion("dregistrationcertificate >=", value, "dregistrationcertificate");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateLessThan(String value) {
            addCriterion("dregistrationcertificate <", value, "dregistrationcertificate");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateLessThanOrEqualTo(String value) {
            addCriterion("dregistrationcertificate <=", value, "dregistrationcertificate");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateLike(String value) {
            addCriterion("dregistrationcertificate like", value, "dregistrationcertificate");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateNotLike(String value) {
            addCriterion("dregistrationcertificate not like", value, "dregistrationcertificate");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateIn(List<String> values) {
            addCriterion("dregistrationcertificate in", values, "dregistrationcertificate");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateNotIn(List<String> values) {
            addCriterion("dregistrationcertificate not in", values, "dregistrationcertificate");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateBetween(String value1, String value2) {
            addCriterion("dregistrationcertificate between", value1, value2, "dregistrationcertificate");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateNotBetween(String value1, String value2) {
            addCriterion("dregistrationcertificate not between", value1, value2, "dregistrationcertificate");
            return (Criteria) this;
        }

        public Criteria andDauditdateIsNull() {
            addCriterion("dauditdate is null");
            return (Criteria) this;
        }

        public Criteria andDauditdateIsNotNull() {
            addCriterion("dauditdate is not null");
            return (Criteria) this;
        }

        public Criteria andDauditdateEqualTo(Date value) {
            addCriterion("dauditdate =", value, "dauditdate");
            return (Criteria) this;
        }

        public Criteria andDauditdateNotEqualTo(Date value) {
            addCriterion("dauditdate <>", value, "dauditdate");
            return (Criteria) this;
        }

        public Criteria andDauditdateGreaterThan(Date value) {
            addCriterion("dauditdate >", value, "dauditdate");
            return (Criteria) this;
        }

        public Criteria andDauditdateGreaterThanOrEqualTo(Date value) {
            addCriterion("dauditdate >=", value, "dauditdate");
            return (Criteria) this;
        }

        public Criteria andDauditdateLessThan(Date value) {
            addCriterion("dauditdate <", value, "dauditdate");
            return (Criteria) this;
        }

        public Criteria andDauditdateLessThanOrEqualTo(Date value) {
            addCriterion("dauditdate <=", value, "dauditdate");
            return (Criteria) this;
        }

        public Criteria andDauditdateIn(List<Date> values) {
            addCriterion("dauditdate in", values, "dauditdate");
            return (Criteria) this;
        }

        public Criteria andDauditdateNotIn(List<Date> values) {
            addCriterion("dauditdate not in", values, "dauditdate");
            return (Criteria) this;
        }

        public Criteria andDauditdateBetween(Date value1, Date value2) {
            addCriterion("dauditdate between", value1, value2, "dauditdate");
            return (Criteria) this;
        }

        public Criteria andDauditdateNotBetween(Date value1, Date value2) {
            addCriterion("dauditdate not between", value1, value2, "dauditdate");
            return (Criteria) this;
        }

        public Criteria andDpubdateIsNull() {
            addCriterion("dpubdate is null");
            return (Criteria) this;
        }

        public Criteria andDpubdateIsNotNull() {
            addCriterion("dpubdate is not null");
            return (Criteria) this;
        }

        public Criteria andDpubdateEqualTo(Date value) {
            addCriterion("dpubdate =", value, "dpubdate");
            return (Criteria) this;
        }

        public Criteria andDpubdateNotEqualTo(Date value) {
            addCriterion("dpubdate <>", value, "dpubdate");
            return (Criteria) this;
        }

        public Criteria andDpubdateGreaterThan(Date value) {
            addCriterion("dpubdate >", value, "dpubdate");
            return (Criteria) this;
        }

        public Criteria andDpubdateGreaterThanOrEqualTo(Date value) {
            addCriterion("dpubdate >=", value, "dpubdate");
            return (Criteria) this;
        }

        public Criteria andDpubdateLessThan(Date value) {
            addCriterion("dpubdate <", value, "dpubdate");
            return (Criteria) this;
        }

        public Criteria andDpubdateLessThanOrEqualTo(Date value) {
            addCriterion("dpubdate <=", value, "dpubdate");
            return (Criteria) this;
        }

        public Criteria andDpubdateIn(List<Date> values) {
            addCriterion("dpubdate in", values, "dpubdate");
            return (Criteria) this;
        }

        public Criteria andDpubdateNotIn(List<Date> values) {
            addCriterion("dpubdate not in", values, "dpubdate");
            return (Criteria) this;
        }

        public Criteria andDpubdateBetween(Date value1, Date value2) {
            addCriterion("dpubdate between", value1, value2, "dpubdate");
            return (Criteria) this;
        }

        public Criteria andDpubdateNotBetween(Date value1, Date value2) {
            addCriterion("dpubdate not between", value1, value2, "dpubdate");
            return (Criteria) this;
        }

        public Criteria andDreportstartIsNull() {
            addCriterion("dreportstart is null");
            return (Criteria) this;
        }

        public Criteria andDreportstartIsNotNull() {
            addCriterion("dreportstart is not null");
            return (Criteria) this;
        }

        public Criteria andDreportstartEqualTo(String value) {
            addCriterion("dreportstart =", value, "dreportstart");
            return (Criteria) this;
        }

        public Criteria andDreportstartNotEqualTo(String value) {
            addCriterion("dreportstart <>", value, "dreportstart");
            return (Criteria) this;
        }

        public Criteria andDreportstartGreaterThan(String value) {
            addCriterion("dreportstart >", value, "dreportstart");
            return (Criteria) this;
        }

        public Criteria andDreportstartGreaterThanOrEqualTo(String value) {
            addCriterion("dreportstart >=", value, "dreportstart");
            return (Criteria) this;
        }

        public Criteria andDreportstartLessThan(String value) {
            addCriterion("dreportstart <", value, "dreportstart");
            return (Criteria) this;
        }

        public Criteria andDreportstartLessThanOrEqualTo(String value) {
            addCriterion("dreportstart <=", value, "dreportstart");
            return (Criteria) this;
        }

        public Criteria andDreportstartLike(String value) {
            addCriterion("dreportstart like", value, "dreportstart");
            return (Criteria) this;
        }

        public Criteria andDreportstartNotLike(String value) {
            addCriterion("dreportstart not like", value, "dreportstart");
            return (Criteria) this;
        }

        public Criteria andDreportstartIn(List<String> values) {
            addCriterion("dreportstart in", values, "dreportstart");
            return (Criteria) this;
        }

        public Criteria andDreportstartNotIn(List<String> values) {
            addCriterion("dreportstart not in", values, "dreportstart");
            return (Criteria) this;
        }

        public Criteria andDreportstartBetween(String value1, String value2) {
            addCriterion("dreportstart between", value1, value2, "dreportstart");
            return (Criteria) this;
        }

        public Criteria andDreportstartNotBetween(String value1, String value2) {
            addCriterion("dreportstart not between", value1, value2, "dreportstart");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}